package cn.itrip.search.service;

import cn.itrip.beans.vo.hotel.SearchHotCityVO;
import cn.itrip.beans.vo.hotel.SearchHotelVO;
import cn.itrip.common.Page;
import cn.itrip.search.beans.Hotel;
import org.apache.solr.client.solrj.impl.HttpSolrClient;

import java.util.List;
import java.util.concurrent.ExecutionException;

public interface SearchService {
    /**
     *  查询全部酒店信息
     */
    List<Hotel> getAllHotelList(SearchHotCityVO searchHotelVO) throws  Exception;


    /**
     * 分页查询酒店信息
     */
    Page getLimitHotelList(SearchHotelVO searchHotelVO, int currNo, int pageSize) throws Exception;



}
